import { postFormData } from '@/utils/request'
import store from '@/store'
export function login({ username, password }) {
  return postFormData('/User/userLogin', {
    username,
    password
  })
}

export function getMenu() {
  return postFormData('/User/selectUserPower', {
    userId: store.getters.userInfo.uid
  })
}
